<?php $this->load->view('layout/header');?>
<div class="supplier-content-page">
    <div class="product-test-h5">
        <ul class="breadcrumb">
            <li><a href="javascript:;">我的账户</a></li>
            <li><a href="<?php echo site_url('accountinfo/accountRecord'); ?>">账户信息</a></li>
            <li class="active"><a href="javascript:;">充值</a></li>
        </ul>
        <?php echo execute_alert_message();?>
        <div class="add-form">
            <form class="public-validate-form form-horizontal" action="<?php echo $this->config->www_base_url.'if/order/ticket.html'?>" method="post">
                <div class="add-product">
                    <div class="fonter-add">基本资料</div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">充值金额</label>
                        <div class="col-xs-3">
                            <input type="hidden" name="version" value="news">
                            <input type="hidden" name="types[]" value="16">
                            <input type="hidden" name="cat_id" value="256">
                            <input type="text" name="nums[]" class="form-control required number" placeholder="请输入您想要充值的金额">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">身份证</label>
                        <div class="col-xs-3">
                            <input type="text" name="sfz" class="form-control required checkcard" placeholder="请输入您的真实身份证号码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">手机号码</label>
                        <div class="col-xs-3">
                            <input type="text" name="phone" class="form-control required mobile" placeholder="请输入您的手机号码">
                        </div>
                    </div>
                </div>
                <div class="add-product pay-method-bank">
                    <div class="fonter-add">支付银行</div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-10">
                        <?php $i=0;foreach ($payment->result() as $item) : ?>
                            <?php if ($item->bank_id == 99) continue; ?>
                            <label class="radio-inline col-xs-2">
                                <input type="radio" name="pay_bank" value="<?php echo $item->bank_id;?>" <?php if ($i==0) :?>checked="checked"<?php endif;?>>
                                <img class="lazy" src="skins/images/load.jpg" data-original="<?php echo $this->config->show_image_url($item->bank_img);?>" title="<?php echo $item->bank_name;?>">
                            </label>
                        <?php $i++;endforeach;?>
                        </div>
                    </div>
                </div>
                <div class="sup-submit">
                    <button type="submit" class="btn btn-default">充值</button>
                    <a href="<?php echo site_url('accountinfo/accountRecord');?>">返回上一级</a>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $this->load->view('layout/footer');?>